package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_refund_price")
public class MallRefundPriceDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 售后ID */
    @TableField("refund_id")
    private Long refundId;
    /** 商户退款单号 */
    @TableField("refund_num")
    private String refundNum;
    /** 微信退款单号 */
    @TableField("wx_refund_num")
    private String wxRefundNum;
    /** 订单号 */
    @TableField("order_num")
    private String orderNum;
    /** 退款金额 */
    @TableField("refund_price")
    private BigDecimal refundPrice;
    /** 退款方式 0:全部退款 1:部分退款  支持商户自定义退款金额,但不得大于订单总金额 */
    @TableField("refund_type")
    private Integer refundType;
    /** 退款成功时间 */
    @TableField("refund_time")
    private Date refundTime;
}
